//
//  SaveManager.h
//  AiYuanTai
//
//  Created by cdyqkj on 16/6/23.
//  Copyright © 2016年 sima. All rights reserved.
//

#import <Foundation/Foundation.h>
@interface SaveManager : NSObject

+ (instancetype)shareSaveManager;
//存储用户信息
- (void)saveUserInfo:(NSDictionary *)dict;
//存储搜索
- (void)saveSeachHistroy:(NSString *)str;
- (void)cleanHistory;
- (NSArray *)getSeachHistroy;
//获取用户信息
- (NSDictionary *)getUserInfo;
//获取用户名
- (NSString *)getUserName;
//更新用户名
- (void)updateUserName:(NSString *)str;
//获取邮箱
- (NSString *)getUserEmail;
//更改邮箱
- (void)updateEmail:(NSString *)str;
//获取相片路劲
- (NSData *)getUserPhotoUrl;
//更改相片路劲
- (void)updatePhotoUrl:(NSData *)data;
//获取性别
- (NSString *)getSex;
//更改性别
- (void)updateSex:(NSString *)str;


@end
